package com.lxw.redis.study.entity;

import com.lxw.redis.study.core.BasicEntity;
public class Dept extends BasicEntity {

	/**
	 * 部门编号
	 */
	private Integer deptno;

	/**
	 * 部门名称
	 */
	private String dname;

	/**
	 * 部门所在地
	 */
	private String loc;

	public Integer getDeptno() {
		return deptno;
	}

	public void setDeptno(Integer deptno) {
		this.deptno = deptno;
	}

	public String getDname() {
		return dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getLoc() {
		return loc;
	}

	public void setLoc(String loc) {
		this.loc = loc;
	}

	@Override
	public String toString() {
		return "Dept{" +
		" deptno=" + deptno  +
		", dname='" + dname + '\'' +
		", loc='" + loc + '\'' +
		'}';
	}
}
